package com.amigo.online.message.enums;

import lombok.Getter;

/**\
 * URL枚举
 */
@Getter
public enum MIMCUrlEnum {
    SELECT_BLACKLIST("https://mimc.chat.xiaomi.net/api/blacklist/?blackAccount="),//查询黑名单
    DELECT_BLACKLIST("https://mimc.chat.xiaomi.net/api/blacklist/?blackAccount="),//取消拉黑
    ADD_BLACKLIST("https://mimc.chat.xiaomi.net/api/blacklist/"),//拉黑
    KICK_QUIT_GROUP("https://mimc.chat.xiaomi.net/api/topic/" + Imconfig.appId+ "/topicId/accounts?accounts="),
    SELECT_OWN_GROUP("https://mimc.chat.xiaomi.net/api/topic/" + Imconfig.appId+ "/account"),//查看所属群
    SELECT_OWN_GROUP_BY_TOPICID("https://mimc.chat.xiaomi.net/api/topic/" + Imconfig.appId+ "/"),//查看指定群信息
    DISSOLUTION_GROUP("https://mimc.chat.xiaomi.net/api/topic/" + Imconfig.appId+ "/"),//群主销毁群接口
    QUIT_GROUP("https://mimc.chat.xiaomi.net/api/topic/" + Imconfig.appId+ "/$topicId/account"),//退群
    INVITATION_GROUP("https://mimc.chat.xiaomi.net/api/topic/" + Imconfig.appId+ "/$topicId/accounts"),//邀请入群
    SESSION_LIST("https://mimc.chat.xiaomi.net/api/contact/v2"),//获取最近会话列表版本二
    HISTORY_MESSAGE("https://mimc.chat.xiaomi.net/api/msg/p2p/queryOnCount/"),//历史消息
    TOKEN("https://mimc.chat.xiaomi.net/api/account/token"),//获取token接口
    FOUND_GROUP("https://mimc.chat.xiaomi.net/api/topic/" + Imconfig.appId);//创建群聊接口

    private String value;

    MIMCUrlEnum(String url) {
        this.value = url;
    }
}
